

'''
1x1=1
1x2 = 2  2x2=4
1x3 = 3  2x3 =6  3x3=9


'''
# 专门打印乘法表的操作。
def NxN(num):
    for  i in range(1,num+1): # 控制层数
        for j in range(1,i+1): # 控制每层的所有打印次数
            print(j,"x",i,"=",(j*i),end="\t") # 控制打印
        print() # 换行

NxN(50)

















